package com.ego.service;

import com.ego.commons.pojo.EasyUIDatagrid;
import com.ego.commons.pojo.EgoResult;
import com.ego.pojo.TbContent;

import java.util.List;

/**
 * @Title
 * @Author Lyg
 * @Description:
 */
public interface TbContentService {
    /**
     * 分页查询
     * @param categoryId
     * @param page
     * @param rows
     * @return
     */

    EasyUIDatagrid contentListPage(long categoryId, int page, int rows);

    EgoResult insertSelective(TbContent content);


    EgoResult editContent(TbContent content);

    EgoResult deleteByIds(List<Long> ids);

}
